Chart for WPF and Silverlight > Chart Types > Special Chart Types and Combination Charts > Column-line Charts |
Using different templates for the different data series it is easy to create various combinations of chart types.
This chart can be created with DataSeries.ChartType.
XAML |
Copy Code
|
---|---|
<c1chart:C1Chart Name="c1chart1"> <c1chart:C1Chart.Data> <c1chart:ChartData > <!-- Default(column) appearance for the first series --> <c1chart:DataSeries Label="series 1" Values="0.5 2 3 4" /> <!-- Second series stars connected with lines--> <c1chart:DataSeries Label="series 2" Values="1 3 2 1" ChartType="LineSymbols" SymbolMarker="Star4" /> </c1chart:ChartData> </c1chart:C1Chart.Data> </c1chart:C1Chart> |